<div>
	<div class="bh-indexyd-title-jj bh-ly-jj-btmb">
		<h1>酒店搜索</h1>
	</div>
	<?php $form = $this->beginWidget('CActiveFormAdv',array(
		'action' => Yii::app()->controller->createUrl('hotelList'),
		'method' => 'get',
		'htmlOptions' => array(
			'class' => 'bh-indexyd-form-jj'
		)
	))?>
	
	<table class='form-tb largespacing'>
		<tr><th width=65px>入住城市：</th><td><?php LyscHtml::citySelector($form, $model, 'searchCity')?></td></tr>
		<tr><th>酒店星级：</th><td><?php echo $form->dropDownList($model, 'star', Yii::app()->enum->options('basic.hotelStar'))?></td></tr>
		<tr><th>酒店名称：</th><td><?php echo $form->textField($model,'name',array(
			'class'=>' bh-mtop5',
			'id'=>'hotel-name',
			'init-value' => '请输入酒店名称'#酒店地址、街道、附近地标、建筑物...
		))?></td></tr>
	</table>
	<input type="submit" name="bh-ydchaxun-jj" class="bh-ydchaxun-jj bh-mtop10 bh-mL_23 bh-ly-ydchaxun-jj" value="搜索" />
	<?php $this->endWidget()?>
</div>
<script>
bindTextInit($('#hotel-name-a'),$('#<?php echo $form->id?>'));
bindTextInit($('#hotel-name'),$('#<?php echo $form->id?>'));
</script>
